Skip to content

feat: retrying HTTP calls on errors #440

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 6, 2025
Merged

Conversation

kkedziak-splunk
Copy link
Contributor

@kkedziak-splunk kkedziak-splunk commented May 27, 2025

Issue: ADDON-78610

Splunk REST Client now retries failed calls.

Status codes that are retried are below.

Default retries specified by urllib3:

  • 413
  • 429
  • 503

Additional codes specified by solnlib:

  • 500
  • 502
  • 504

The default number of retries is 5.

@kkedziak-splunk kkedziak-splunk requested a review from a team as a code owner May 27, 2025 15:07
@sgoral-splunk sgoral-splunk merged commit 413c3a0 into develop Aug 6, 2025
19 checks passed
@sgoral-splunk sgoral-splunk deleted the feat/enable-retries branch August 6, 2025 13:46
@github-actions github-actions bot locked and limited conversation to collaborators Aug 6, 2025
@srv-rr-github-token
Copy link
Contributor

🎉 This PR is included in version 7.0.0-beta.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants